<template>
  <el-row class="container">
    <el-col :span="24" class="main">
      <transition name="fade-transform" mode="out-in">
        <router-view :key="key" name="content"></router-view>
      </transition>
    </el-col>
  </el-row>
</template>
<script>

export default {
  name: 'defaultView',
  data () {
    return {
    }
  },
  computed: {
    key () {
      // 为了让页面准确刷新
      return this.$route.path
    }
  }
}
</script>
